#include "main.h"
#include <string.h>


void TIM2_Init(void);
void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
void TIM2_SetCompare(int channel,int duty);